package com.creditcmsplt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.creditcmsplt.mapper.CreditLogMapper;
import com.creditcmsplt.service.CreditLogService;

@Service
public class CreditLogServiceImpl implements CreditLogService{

	@Autowired
	private CreditLogMapper creditLogMapper;

	public String selectPDFByIdentity(String identify) {
		List<String> resultList=creditLogMapper.selectPDFByIdentity(identify);
		return resultList==null||resultList.isEmpty()?null:resultList.get(0);
	}

	public List<String> checkIdentifyByCs(String vendor_key, String vendor_secret, String idcard) {
		List<String> resultList=creditLogMapper.checkIdentifyByCs(vendor_key,vendor_secret,idcard);
		return resultList;
	}
	
}
